<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<!-- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link> -->
           <link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
 	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
 	<script type="text/javascript" src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/perlize.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/save.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/initPage.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/sysReport/report.js"></script>
    	<script type="text/javascript">
		$(function(){
			$("#dotted :last ").remove()
		});
	</script>
	<script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
</head>
  
  <body>
   
		 
			<!--<form action=""> 
			 
				<table cellspacing="0" cellpadding="0" border="860">  
				   <tr> 
						<th colspan="8" class="b" style="font-size: 20px;">开票单</th> 
					</tr> 
				    <tr> 
				     <td class="td_right"><strong>开票单号:</strong></td> 
				     <td width="90" class="td_left"> ${data.INV_CODE}</td> 
				     <td class="td_right"><strong>客户名称:</strong></td> 
				     <td width="90" colspan="2" class="td_left">${data.clients_name}</td> 
				      <td class="a"><br></td> 
				    </tr> 
				     
				     <tr> 
				     <td class="td_right"><strong>客户编号:</strong></td> 
				     <td width="80" class="td_left">${data.CLIENT_ID}</td> 
				     <td class="td_right"><strong>发票号码:</strong></td> 
				     <td width="90" class="td_left">${data.INVOICE_NO}</td> 
				     <td class="td_right"><strong>开票金额:</strong></td> 
				     <td width="80" class="td_ct">${data.INVOICE_MONEY }</td> 
				     </tr> 
				        
				      <tr>   
				     <td class="td_right"><strong>录单日期:</strong></td> 
				     <td width="90" class="td_left">${data.INVOICE_DATE }</td> 
				     <td class="td_right"><strong>发票类别:</strong></td> 
				     <td width="90" class="td_left">${data. NAME}</td> 
				      <td class="td_right"><strong>税率:</strong></td> 
				      <td width="60" class="td_ct">${data.TAX_RATE }</td> 
				      </tr> 
				          
				         <tr>    
				           <td class="td_right"><strong>部门:</strong></td> 
				           <td width="70" class="td_left">${data.BUMEN }</td> 
				          <td class="td_right"><strong>业务员:</strong></td> 
				           <td class="td_left">未读</td> 
				           <td class="td_right"> <strong>录单员:</strong></td> 
				           <td class="td_left">${data.INPUT_MAN }</td> 
				         </tr> 
				          
				           <tr>    
				           <td class="td_right"> <strong>备注:</strong></td> 
				           <td colspan="5" class="td_left">${data.MEMO}</td> 
				          </tr> 
				</table> 
					</form> 
	<div align="left"> 
				</div><table border="0" cellpadding="0" cellspacing="0" width="860px" align="left">
				<tr>
				<td colspan="8"><hr width=860px align="left"  /></td>
				</tr>
					<tr>
						<td width="90px"><strong>录单日期</strong></td>
						<td  width="100px"><strong>批销单号</strong></td>
						<td width="90px"><strong>应开金额</strong></td>
						<td width="70px"><strong>已开金额</strong></td>
						<td width="70px" ><strong>未开金额</strong></td>
						<td  width="70px"><strong>本次金额</strong></td>
						<td width="70px"><strong>本次码洋</strong></td>
						<td width="70px"><strong>备注</strong></td>
					</tr>
					   <tr>
				   	<td colspan="8"><hr width=860px align="left" /></td></tr>
					<c:forEach items="${dataList}" var="temp">
						<tr>
							<td class="td_ct">${data.INPUT_DATE}</td>
							<td class="td_ct">${temp.DJ_CODE}</td>
							<td class="td_right">${temp.YKJE}</td>
							<td class="td_right">${temp.YKJE}</td>
							<td class="td_right">${temp.WKJE}</td>
							<td class="td_right">${temp.NOW_MONEY}</td>
							<td class="td_right">${temp.BCMY}</td>
							<td class="td_left">${temp.MEMO}</td>
						<tr id="dotted">
				        <td colspan="8"><hr width=860px align="left" style="border: 1px dotted;"  /></td>
				       </tr>
					</c:forEach>
						<td colspan="8"><hr width=860px align="left"   /></td>
						</table><div align="left"> 
</div> 
				<LABLE><strong>业务：</strong><LABLE>未读<LABLE> 
				<LABLE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>发行主管：</strong><LABLE><LABLE>未读<LABLE> 
				<LABLE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>财务：</strong><LABLE><LABLE>未读<LABLE> 
			    <LABLE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>领票人：</strong><LABLE><LABLE>未读<LABLE> 

			</form>
  --></body>
</html>
